package com.bean;

/**
 * @ClassName AnnouncePage
 * @Desc 公告分页查询
 * @Author xiaoding
 * @Date 2021/1/17 20:58
 * @Version 1.0
 */

public class AnnouncePage {
    //功能属性
    private String title;
    private int page;
    private int currPage;
    private int start;

    //构造方法
    public AnnouncePage() {}
    public AnnouncePage(String title, int page, int currPage, int start) {
        this.title = title;
        this.page = page;
        this.currPage = currPage;
        this.start = start;
    }
    public AnnouncePage(String title, int page, int currPage) {
        this.title = title;
        this.page = page;
        this.currPage = currPage;
    }
    public AnnouncePage(int page, int currPage) {
        this.page = page;
        this.currPage = currPage;
    }

    //get、set方法
    public String getTitle() {
        return title;
    }

    public int getPage() {
        return page;
    }

    public int getCurrPage() {
        return currPage;
    }

    public int getStart() {
        return start;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public void setStart(int start) {
        this.start = start;
    }
}
